<?php
class url_settingApi extends baseApi{

	//构成主菜单
    public function hook_menu_index(){
        return array(
        	0 => array('name'=>'URL设置','url'=>url('url_setting/admin_list/index'),'sequence'=>4),
        	);
    }

	public function hook_purview_admin()
    {
        return array(
            'admin_list'=>array(
                'name'=>'URL设置',
                'auth'=>array(
                    'index'=>'列表',
                    'add'=>'添加',
                    'edit'=>'编辑',
                    'del'=>'删除',
                ),
            ),
        );
    }
	
}